package com.ins1st.plus.api.system.menu.entity;

import java.io.Serializable;

/**
 * @program: ins1st-plus
 * @description: ztree专门的数据结构
 * @author: coderSun
 * @create: 2019-09-05 20:54
 **/
public class Ztree implements Serializable {

    private Integer id;
    private String name;
    private Integer pId;
    private boolean isParent = false;
    private boolean open = false;
    private boolean checked = false;
    private String level;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }

    public boolean isParent() {
        return isParent;
    }

    public void setParent(boolean parent) {
        isParent = parent;
    }

    public boolean isOpen() {
        return open;
    }

    public void setOpen(boolean open) {
        this.open = open;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }
}
